Optimal. Leaf size=65 \[ \frac {C x \sqrt {\cos (c+d x)}}{b^2 \sqrt {b \cos (c+d x)}}+\frac {A \sin (c+d x)}{b^2 d \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.086, Rules used = {17, 3091, 8}
\begin {gather*} \frac {A \sin (c+d x)}{b^2 d \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}}+\frac {C x \sqrt {\cos (c+d x)}}{b^2 \sqrt {b \cos (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 17
Rule 3091
Rubi steps
\begin {align*} \int \frac {\sqrt {\cos (c+d x)} \left (A+C \cos ^2(c+d x)\right )}{(b \cos (c+d x))^{5/2}} \, dx &=\frac {\sqrt {\cos (c+d x)} \int \left (A+C \cos ^2(c+d x)\right ) \sec ^2(c+d x) \, dx}{b^2 \sqrt {b \cos (c+d x)}}\\ &=\frac {A \sin (c+d x)}{b^2 d \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}}+\frac {\left (C \sqrt {\cos (c+d x)}\right ) \int 1 \, dx}{b^2 \sqrt {b \cos (c+d x)}}\\ &=\frac {C x \sqrt {\cos (c+d x)}}{b^2 \sqrt {b \cos (c+d x)}}+\frac {A \sin (c+d x)}{b^2 d \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 45, normalized size = 0.69 \begin {gather*} \frac {\cos ^{\frac {3}{2}}(c+d x) (C d x \cos (c+d x)+A \sin (c+d x))}{d (b \cos (c+d x))^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.27, size = 45, normalized size = 0.69
method | result | size |
default | \(\frac {\left (C \cos \left (d x +c \right ) \left (d x +c \right )+A \sin \left (d x +c \right )\right ) \left (\cos ^{\frac {3}{2}}\left (d x +c \right )\right )}{d \left (b \cos \left (d x +c \right )\right )^{\frac {5}{2}}}\) | \(45\) |
risch | \(\frac {C x \left (\sqrt {\cos }\left (d x +c \right )\right )}{b^{2} \sqrt {b \cos \left (d x +c \right )}}+\frac {2 i \left (\sqrt {\cos }\left (d x +c \right )\right ) A}{b^{2} \sqrt {b \cos \left (d x +c \right )}\, d \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right )}\) | \(67\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.58, size = 93, normalized size = 1.43 \begin {gather*} \frac {2 \, {\left (\frac {A \sqrt {b} \sin \left (2 \, d x + 2 \, c\right )}{b^{3} \cos \left (2 \, d x + 2 \, c\right )^{2} + b^{3} \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, b^{3} \cos \left (2 \, d x + 2 \, c\right ) + b^{3}} + \frac {C \arctan \left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1}\right )}{b^{\frac {5}{2}}}\right )}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 191, normalized size = 2.94 \begin {gather*} \left [-\frac {C \sqrt {-b} \cos \left (d x + c\right )^{2} \log \left (2 \, b \cos \left (d x + c\right )^{2} + 2 \, \sqrt {b \cos \left (d x + c\right )} \sqrt {-b} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) - b\right ) - 2 \, \sqrt {b \cos \left (d x + c\right )} A \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{2 \, b^{3} d \cos \left (d x + c\right )^{2}}, \frac {C \sqrt {b} \arctan \left (\frac {\sqrt {b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{\sqrt {b} \cos \left (d x + c\right )^{\frac {3}{2}}}\right ) \cos \left (d x + c\right )^{2} + \sqrt {b \cos \left (d x + c\right )} A \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{b^{3} d \cos \left (d x + c\right )^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.90, size = 117, normalized size = 1.80 \begin {gather*} \frac {2\,\sqrt {\cos \left (c+d\,x\right )}\,\sqrt {b\,\cos \left (c+d\,x\right )}\,\left (A\,\sin \left (c+d\,x\right )+A\,\sin \left (3\,c+3\,d\,x\right )+C\,d\,x\,\cos \left (3\,c+3\,d\,x\right )+3\,C\,d\,x\,\cos \left (c+d\,x\right )+A\,\cos \left (c+d\,x\right )\,3{}\mathrm {i}+A\,\cos \left (3\,c+3\,d\,x\right )\,1{}\mathrm {i}\right )}{b^3\,d\,\left (4\,\cos \left (2\,c+2\,d\,x\right )+\cos \left (4\,c+4\,d\,x\right )+3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________